import request from "@/utils/request";

//获取qq详情
export const getQQInfo = (qq) => {
  return request({
    url: `/view/qq/info/${qq}`
  })
}

// 添加评论
export const addComment = (data) => {
  return request({
    url: '/view/comment/add',
    method: 'POST',
    data
  })
}

// 获取评论列表
export const commentsList = (data) => {
  return request({
    url: '/view/comment/list',
    method: "POST",
    data
  })
}
